CSharpTest.Net
CreateValue Method
See Also  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Collections Namespace > ICreateValue<TKey,TValue> Interface : CreateValue Method

key
value

Glossary Item Box

Called when the key was not found within the dictionary to produce a new value that can be added. Return true to continue with the insertion, or false to prevent the key/value from being inserted.

Syntax

Visual Basic (Declaration) 
Function CreateValue( _
   ByVal key As TKey, _
   ByRef value As TValue _
) As Boolean
C# 
bool CreateValue( 
   TKey key,
   out TValue value
)

Parameters

key
value

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Reference

ICreateValue<TKey,TValue> Interface
ICreateValue<TKey,TValue> Members

Used By

Boolean SynchronizedDictionary.AddOrUpdate(TKey,T)

Generated with Document! X 2011 by Innovasys